.flex,
.flex-top,
.flex-wrap,
.flex-space,
.flex-center,
.flex-evenly,
.flex-middle {
  display: flex
}

.flex-top{
  justify-items: start;
}

.flex-wrap {
  flex-wrap: wrap
}

.flex-middle {
  align-items: center;
}

.flex-evenly {
  justify-content: space-evenly;
}

.flex-space {
  align-items: center;
  justify-content: space-between;
}

.flex-center {
  align-items: center;
  justify-content: center
}

/* 定位元素水平垂直居中 */
.pos-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0)
}

/* 半透明遮罩层 */
.cover-layer {
  display: flex;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  justify-content: center;
  align-items: center;
  align-content: center;
  background-color: rgba(0, 0, 0, .5);
  z-index: 99999;
}

.margin--top {
  margin-top: 10px;
}

.margin--bottom {
  margin-bottom: 10px;
}

.margin--top-bottom {
  margin: 10px 0;
}

.margin--left-right {
  margin: 0 10px;
}

.not-selected {
  user-select: none;
  pointer-events: none
}

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis
}

.ellipsis-l2,
.ellipsis-l3,
.ellipsis-l4 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical
}

.ellipsis-l2 {
  -webkit-line-clamp: 2
}

.ellipsis-l3 {
  -webkit-line-clamp: 3
}

.ellipsis-l4 {
  -webkit-line-clamp: 4
}

.hide-line::before,
.hide-line::after {
  border: 0 !important
}

.most-left::before,
.most-left::after {
  left: 0 !important
}

.desc-text {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  font-size: 14px;
  line-height: 50px;
  border-color: currentColor;
  border-style: solid;
  border-width: 0;
  color: #999;
}

.desc-text::after,
.desc-text::before {
  content: "";
  display: block;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  height: 1px;
  margin: 0 15px;
  box-sizing: border-box;
  border-color: inherit;
  border-style: inherit;
  border-width: 1px 0 0;
  transform: scaleY(0.5)
}

.overflow {
  overflow: hidden !important;
}

.theme-bd {
  border: 1px solid var(--theme) !important;
  box-sizing: border-box !important;
  color: var(--theme) !important;
}

.theme-bg {
  background-color: var(--theme) !important;
  border-color: var(--theme) !important;
  box-sizing: border-box !important;
  color: #fff !important;
}

/* 路由跳转过渡效果 */
.page-enter-active,
.page-leave-active {
  transition: opacity .2s
}

.page-enter,
.page-leave-active {
  opacity: 0
}

/* 基础类 */
.active {
  color: var(--theme) !important
}

.danger{
  color: #ff5566;
}

.strong {
  font-weight: bold
}

.pointer{
  cursor: pointer;
  user-select: none;
}

.user-pic{
  background-color: #eee;
  border-radius: 5px;
  color: #666;
}

.content-null {
  padding: 50px 0;
  text-align: center;
  color: #999;
}

.content-main {
  padding: 20px;
  background-color: #fff;
}